package com.yssw.client.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yssw.common.annotation.Excel;
import com.yssw.common.core.domain.BaseEntity;

/**
 * 检查报告对象 check_report
 *
 * @author yssw
 * @date 2023-04-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
public class CheckReport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 乐观锁
     */
    private Integer version;

    /**
     * 报名名称
     */
    @Excel(name = "报名名称")
    private String reportName;

    /**
     * 报告日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报告日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportDate;

    /**
     * 附件图片
     */
    @Excel(name = "附件图片")
    private String reportImage;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号")
    private Long equipmentId;


}
